package com.shensi.adminCollect.mapper.station;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shensi.adminCollect.domain.station.FinanceStatementStation;
import com.shensi.adminCollect.domain.station.PayWay;
import com.shensi.adminCollect.domain.station.vo.FinanceStatement;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

public interface FinanceStatementStationMapper extends BaseMapper<FinanceStatementStation> {

    FinanceStatement countOilDataByDay(@Param("stationId") long stationId,
                                  @Param("beginTime") LocalDateTime beginTime,
                                  @Param("endTime") LocalDateTime endTime);

    FinanceStatement countCardDataByDay(@Param("stationId") long stationId,
                                  @Param("beginTime") LocalDateTime beginTime,
                                  @Param("endTime") LocalDateTime endTime);

    PayWay selectStationPayWay(long stationId);

}
